<?php
/**
 * User: zhangligang
 * Email: tzhang2450@163.com
 * Date: 2018/11/20
 * Time: 03:20
 */

namespace App\Http\Controllers;

use Laravel\Lumen\Routing\Controller;

class StudentController extends Controller
{

    public function index($include = 'student/work')
    {
        return view('student.index', ['include' => $include]);
    }

    public function work()
    {
        return view('student.work');
    }

    public function createWork()
    {
        return view('student.work-create');
    }

    public function editWork($id)
    {
        return view('student.work-edit', ['id' => $id]);
    }

    public function file()
    {
        return view('student.file');
    }

    public function editFile()
    {
        return view('student.file-edit');
    }

    public function set()
    {
        return view('student.set');
    }
}